[win] Adding experimental preference to enable update on runtime behavior#2461
Conversation
|
As we have ways to know the platform, maybe only show it when running on windows? Also either make PerMonitorV2 a link to some documentation or remove implementation details from the description. |
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
@laeubi Forgot to mention but yes, we are only showing it in Windows. I have updated the description. |
|
If it is only shown on windows, then I don't think it needs to be mentioned as a "Windows only" in the text. |
One could also add such details into the documentation page for this preference page. |
|
@BeckerWdf @laeubi for now I have removed implementation details from the description. I have asked if we have documentation page for this right now. If yes, then I will link it. |
Test Results 1 821 files ±0 1 821 suites ±0 1h 43m 42s ⏱️ - 10m 43s For more details on these failures, see this check. Results for commit a2bbf11. ± Comparison against base commit 83c128c. ♻️ This comment has been updated with latest results. |
fedejeanne
left a comment
There was a problem hiding this comment.
It works pretty well, I only have some minor comments about naming/typos and one important detail about preserving the selected browser when the new preference is set to false.
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties
Outdated
Show resolved
Hide resolved
ffccae6 to
a05574d
Compare
a05574d to
6783cfb
Compare
My changes have been applied. Rebasing.
HeikoKlare
left a comment
There was a problem hiding this comment.
Great to finally have a proper preference for enabling the enhanced HiDPI support on Windows, thanks!
Still, in the current state, this PR introduces a regression and needs some revision regarding design and naming. See my detailed comments.
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPreferenceConstants.java
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkbenchPreferenceConstants.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
c641c89 to
351988b
Compare
HeikoKlare
left a comment
There was a problem hiding this comment.
Regarding functionality, this looks good now (except for the case that the options do not show up anymore because of a faulty conditions).
Some minor code style comments are remaining.
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties
Outdated
Show resolved
Hide resolved
...org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
Outdated
Show resolved
Hide resolved
351988b to
eacac43
Compare
eacac43 to
95b8699
Compare
In the UI Preferences -> General -> Appearance, there is a new HiDPI setting that could be checked to enable the monitor-specific scaling of the UI. This check will also enable Edge browser by default. This is an experimental feature to test the multi-monitor HiDPI support before it is actually released and set by default. For now, this preference is disabled by default.
95b8699 to
a2bbf11
Compare
HeikoKlare
left a comment
There was a problem hiding this comment.
From my side, this also looks good now. Thank you!
|
Failing test is unrelated/already documented: #370 |
In the UI Preferences -> General -> Appearance, there is a new HiDPI setting that could be checked to enable the monitor-specific scaling of the UI. This check will also enable Edge browser by default. This is an experimental feature to test the multi-monitor HiDPI support before it is actually released and set by default. For now, this preference is disabled by default.
Note: This preference check is only available in Windows
When changing the preference, the dialog will appear to prompt the restart.